<template>
  <div class="empty-cont">
    <div class="empty-block">
      <div class="empty-icon iconfont icon-bianji1"></div>
      <div class="empty-name">{{ emptyText ? emptyText : '暂无内容' }}</div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["emptyText"]
};
</script>

<style lang="less" scoped>
.empty-cont {
  width: 100%;
  height: 100%;
  // padding-top: 30vh;
  padding-top: 30%;
  .empty-block {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    // margin-top: 20vh;
    color: #ccc;
    .empty-icon {
      width: 30px;
      height: 30px;
      margin: 0 auto;
      font-size: 25px;
      line-height: 30px;
      text-align: center;
    }
    .empty-name {
      width: 100%;
      text-align: center;
      height: 40px;
      line-height: 30px;
      font-size: 14px;
    }
  }
}
</style>